{template header}
<div class="container">


<div class="my">


<div class="my_left">

{php include pubTemplate("my")}

</div>

<div class="my_right">

<div class="rc">


{php doAction('my_right_top')}

<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="">我的唠叨</a></li>
</ul>




<div>
<form method="post" class="form text-form" action="{tsUrl('weibo','add',array('ts'=>'do'))}" enctype="multipart/form-data">
<textarea style="width:98%;height:40px;" name="content"></textarea>
<div style="padding:5px 0;">

<input type="hidden" name="token" value="{$_SESSION['token']}" />

<button  class="btn btn-success"  type="submit">发布</button>
</div>
</form>
</div>

<ul>
{loop $arrWeibo $key $item}
<li class="mbtl">
<a href="{tsUrl('user','space',array('id'=>$item[user][userid]))}"><img title="{$item[user][username]}" alt="{$item[user][username]}" src="{$item[user][face]}" width="48" /></a>
</li>
<li class="mbtr">
<div class="author"><a href="{tsUrl('user','space',array('id'=>$item[user][userid]))}">{$item[user][username]}</a> {$item['addtime']}</div>
<div class="title"><a href="{tsUrl('group','topic',array('id'=>$item['topicid']))}">{$item[title]}</a></div>
<div class="content">
{if $item[photo]}<a target="_blank" href="{SITE_URL}uploadfile/weibo/{$item[photo]}"><img src="{php echo tsXimg($item['photo'],'weibo',240,'',$item['path'])}" /></a>{/if}
{$item[content]}
</div>
<p style="text-align:right;">

<a href="{tsUrl('weibo','show',array('id'=>$item['weiboid']))}">{if $item['count_comment'] > '0'}({$item['count_comment']}){/if}回复</a>

{if $TS_USER['user']['isadmin'] == 1}
<a href="{tsUrl('weibo','delete',array('weiboid'=>$item['weiboid']))}">删除</a>
{/if}

</p>
</li>
<div class="clear"></div>
{/loop}
</ul>

<div class="clear"></div>
<div class="page">{$pageUrl}</div>
<div>

</div>





</div>

</div>


</div>
</div>
{template footer}